DiamondBlockStaffShapePredicate
public final class DiamondBlockStaffShapePredicate implements IShapedBlockDestructionPredicate(source)
A BlockDestructionPredicate, which only allow breaking blocks in the Diamond Block Staff's shape.
Parameters
origin
The starting point of the destruction
forwardVector
Vector pointing "forward" relative to the block destroyer's POV
upVector
Vector pointing "upward" relative to the block destroyer's POV
rng
Random number generator deciding the pattern of destruction
Constructors
Link copied to clipboard
public DiamondBlockStaffShapePredicate DiamondBlockStaffShapePredicate(BlockPos origin, Vec3i forwardVector, Vec3i upVector, Random rng)
Properties
Functions
Inherited functions
Link copied to clipboard
public BiPredicate<ServerWorld, BlockPos> and(BiPredicate<? super ServerWorld, ? super BlockPos> p0)
Link copied to clipboard
Link copied to clipboard